//
//  FaceAttestationViewController.m
//  mendianjieke
//
//  Created by 响当当 on 8/7/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "FaceAttestationViewController.h"
#import "FaceAttestationView.h"

@interface FaceAttestationViewController ()
@property (nonatomic, strong)FaceAttestationView *faceView;
@end

@implementation FaceAttestationViewController

- (FaceAttestationView *)faceView
{
    if (!_faceView)
    {
        _faceView = [[FaceAttestationView alloc]initWithFrame:CGRectMake(0,NAVIBAR_HEIGHT,SCREEN_WIDTH,SCREEN_HEIGHT-NAVIBAR_HEIGHT)];
        if (self.isFaceTure.integerValue == 1)
        {
            [_faceView result:self.isFaceTure];
        }
        
    }
    return _faceView;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    [self setDefaultNavWithTitle:@"员工人脸认证"];
    self.viewType = 1;

    [self.view addSubview:self.faceView];
}


@end
